set(src_list
    transport_heterog_p2p.cc
    transport_heterog_roce.cc
    transport_heterog_event_tcp.cc
    transport_heterog.cc
    transport_heterog_event_roce.cc
    transport_heterog_raw_roce.cc
    socket.cc
)

target_sources(hccl_plf PRIVATE
    ${src_list}
)

target_sources(hccd PRIVATE
    ${src_list}
)

target_sources(ccl_kernel PRIVATE
    ${src_list}
    ${src_list_extend}
)